package com.ys.entity.base;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_UserMonthPerformanceReportItem", catalog="Id")
public class TbUserMonthPerformanceReportItem extends BaseEntity<TbUserMonthPerformanceReportItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="MonthPerformanceId", nameJava="monthPerformanceId", typeDataBase="bigint")
	private Long monthPerformanceId;
	@YsField(nameDataBase="HrPerformancePoint", nameJava="hrPerformancePoint", typeDataBase="decimal")
	private BigDecimal hrPerformancePoint;
	@YsField(nameDataBase="HrPerformanceContent", nameJava="hrPerformanceContent", typeDataBase="varchar")
	private String hrPerformanceContent;
	@YsField(nameDataBase="JobBonus", nameJava="jobBonus", typeDataBase="decimal")
	private BigDecimal jobBonus;
	@YsField(nameDataBase="JobBonusExplain", nameJava="jobBonusExplain", typeDataBase="varchar")
	private String jobBonusExplain;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbUserMonthPerformanceReportItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TbUserMonthPerformanceReportItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getMonthPerformanceId() {
		return monthPerformanceId;
	}
	public TbUserMonthPerformanceReportItem setMonthPerformanceId(Long monthPerformanceId) {
		this.monthPerformanceId = monthPerformanceId;
		return this;
	}
	public BigDecimal getHrPerformancePoint() {
		return hrPerformancePoint;
	}
	public TbUserMonthPerformanceReportItem setHrPerformancePoint(BigDecimal hrPerformancePoint) {
		this.hrPerformancePoint = hrPerformancePoint;
		return this;
	}
	public String getHrPerformanceContent() {
		return hrPerformanceContent;
	}
	public TbUserMonthPerformanceReportItem setHrPerformanceContent(String hrPerformanceContent) {
		this.hrPerformanceContent = hrPerformanceContent;
		return this;
	}
	public BigDecimal getJobBonus() {
		return jobBonus;
	}
	public TbUserMonthPerformanceReportItem setJobBonus(BigDecimal jobBonus) {
		this.jobBonus = jobBonus;
		return this;
	}
	public String getJobBonusExplain() {
		return jobBonusExplain;
	}
	public TbUserMonthPerformanceReportItem setJobBonusExplain(String jobBonusExplain) {
		this.jobBonusExplain = jobBonusExplain;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbUserMonthPerformanceReportItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbUserMonthPerformanceReportItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbUserMonthPerformanceReportItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbUserMonthPerformanceReportItem tbUserMonthPerformanceReportItem(
		String pbid,
		Long monthPerformanceId,
		BigDecimal hrPerformancePoint,
		String hrPerformanceContent,
		BigDecimal jobBonus,
		String jobBonusExplain,
		Integer status
			) {
		TbUserMonthPerformanceReportItem entity = new TbUserMonthPerformanceReportItem();
		entity.setPbid(pbid);
		entity.setMonthPerformanceId(monthPerformanceId);
		entity.setHrPerformancePoint(hrPerformancePoint);
		entity.setHrPerformanceContent(hrPerformanceContent);
		entity.setJobBonus(jobBonus);
		entity.setJobBonusExplain(jobBonusExplain);
		entity.setStatus(status);
		return entity;
	}
}